package com.smt.ejb3.tutoria.entitybean.compositekey;

import java.io.Serializable;

import javax.persistence.EmbeddedId;
import javax.persistence.Entity;
import javax.persistence.Table;

@Entity
@Table(name="T_AIRLINE")
public class AirLine implements Serializable {

	private static final long serialVersionUID = 1L;

	private AirLinePK pk;
	private String name;
	
	@EmbeddedId
	public AirLinePK getPk() {
		return pk;
	}
	public void setPk(AirLinePK pk) {
		this.pk = pk;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	
}
